<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <base th:href="${#httpServletRequest.getContextPath()+'/'}">
    <meta charset="UTF-8">
    <title>登录页</title>
</head>
<body>
<h1>这是登录页</h1>

<h6 th:text="${msg}"></h6>

<form action="loginAction" method="post">
<table>
    <tr>
        <td>用户名</td>
        <td><input name="code"/></td>
    </tr>
    <tr>
        <td>密码</td>
        <td><input name="password"/></td>
    </tr>
    <tr>
        <td colspan="2">
            <input type="submit" value="登录" />
        </td>
    </tr>
</table>
</form>




</body>
</html>